package com.kingdee.eas.xbang.mapping.client;

import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.ICoreBase;
import com.kingdee.eas.xbang.mapping.BusinessAccountMappingCollection;
import com.kingdee.eas.xbang.mapping.BusinessAccountMappingFactory;
import com.kingdee.eas.xbang.mapping.BusinessAccountMappingInfo;
import com.xbang.util.common.kdcontrolutils.EDkdTableUtil;

/**
 * @author lifetime
 *
 */
public class BusinessAccountMappingBatchEditUI extends CommonAccountMappingBatchUI {

	public BusinessAccountMappingBatchEditUI() throws Exception {
		super();
	}
	
	protected void uiInit() {
		super.uiInit();
		EDkdTableUtil.StateManager.hideColumn(tblMain, "number");
		
	}

	protected IObjectCollection createNewCollection() {
		return new BusinessAccountMappingCollection();
	}

	protected IObjectValue createNewData() {
		return new BusinessAccountMappingInfo();
	}

	protected ICoreBase getBizInterface() throws Exception {
		return BusinessAccountMappingFactory.getRemoteInstance();
	}

}